package com.geezdata.cps.sdk3rd.pinduoduo.request;

import javax.validation.constraints.NotNull;

import com.geezdata.cps.base.request.BaseRequest;
import com.geezdata.cps.sdk3rd.pinduoduo.constant.Constants;

public class PinduoduoDDKGoodsRequest extends BaseRequest{
	
	public PinduoduoDDKGoodsRequest() {
		setMethodName(Constants.METHOD_PINDUODUO_DDK_GOODS_SEARCH);
	}
	
	private String methodName;
    
	private String keyword;
	private Integer categoryId;
	private Integer page;
	private Integer pageSize;
	private Integer optId;
    private String goodsIdList;
	
	@NotNull(message = "sortType 不能为空！")
	private Integer sortType;
	
	@NotNull(message = "withCoupon 不能为空！")
	private boolean withCoupon;

	private String  rangeList;

	public String getRangeList() {
		return rangeList;
	}

	public void setRangeList(String rangeList) {
		this.rangeList = rangeList;
	}

	private String clientId;
	
	private String clientSecret;
	
	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getSortType() {
		return sortType;
	}

	public void setSortType(Integer sortType) {
		this.sortType = sortType;
	}

	public boolean isWithCoupon() {
		return withCoupon;
	}

	public void setWithCoupon(boolean withCoupon) {
		this.withCoupon = withCoupon;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getClientSecret() {
		return clientSecret;
	}

	public void setClientSecret(String clientSecret) {
		this.clientSecret = clientSecret;
	}

    public Integer getOptId() {
        return optId;
    }

    public void setOptId(Integer optId) {
        this.optId = optId;
    }

    public String getGoodsIdList() {
        return goodsIdList;
    }

    public void setGoodsIdList(String goodsIdList) {
        this.goodsIdList = goodsIdList;
    }
}
